package com.zpark.resume.service;

import com.zpark.resume.entity.Member;

/**
 * @PackageName: com.zpark.resume.service
 * @ClassName: IMemberService
 * @Description: 会员业务层接口
 * @author: RZS
 * @date: 2023/5/30  15:44
 */
public interface IMemberService {

    /**
     * 会员登录
     * @param username 用户名
     * @param password 密码
     * @return 会员对象
     */
    Member login(String username, String password);

    /**
     * 用户注册功能
     * @param member
     * @return
     */
    Integer reg(Member member);

    /**
     * 根据id查询mrmber
     * @param id
     * @return
     */
    Member findById(Integer id);
}
